package com.quanyan.search.service;

import com.quanyan.api.APIResponse;
import com.quanyan.search.entity.request.ReqClubMemberInfo;
import com.quanyan.search.entity.response.ClubMemberResponse;
import com.quanyan.search.entity.vo.ClubMemberIndexInfo;

import java.util.List;

/**
 * ClubSearchService
 * 俱乐部成员成员搜索
 * @author Tu Chun
 * @date 2016/6/4
 */
public interface ClubMemberSearchService {
    String getURL() ;

    void setURL(String URL) ;

    /**
     * 添加俱乐部成员cy索引
     * @param clubMemberIndexInfo
     * @return
     */
    APIResponse insertDoc(ClubMemberIndexInfo clubMemberIndexInfo);

    /**
     * 添加多个俱乐部成员索引
     * @param clubMemberIndexInfos
     * @return
     */
    APIResponse insertDocs(List<ClubMemberIndexInfo> clubMemberIndexInfos);

    /**
     * 根据id删除Document
     * @param club_id
     * @return
     */
    APIResponse deleteDocById(Integer club_id, Integer club_member_uid);




    /**
     * 根据id搜索俱乐部成员信息
     * @param club_id
     * @return
     */
    APIResponse<ClubMemberIndexInfo> searchClubMemberInfo(Integer club_id, Integer club_member_uid);



    /**
     * 根据条件搜索
     * @param reqClubMemberInfo
     * @return
     */
    APIResponse<List<ClubMemberResponse>> searchClubMemberInfoList(ReqClubMemberInfo reqClubMemberInfo);
}
